package com.encyclopedia.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.encyclopedia.entity.Plant;

import java.util.List;

public interface PlantService {
    List<Plant> ByName(String name);

    List<Plant> ByGenusId(Integer genusId);

    Plant ById(Integer PlantId);


    List<Plant> getPlantByGenusName(String genusName);

    List<Plant> getPlantByFamilyName(String familyName);

    List<Plant> getPlantByMonth(Integer month);

    Page<Plant> getPlantAll(Integer current);


}
